﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ACC.Data.Entities.Mes
{
    /// <summary>
    /// MES-SCADA-22 人工质检任务下发
    /// MES-SCADA-23 人工质检结果上传 SCADA to MES
    /// MES-SCADA-24 人工质检完成后放行
    /// </summary>
    public class MESQualityCheck
    {
        public string factory;
        public string center_code;
        public string center_name;
        public string order_code;    // 订单号
        public string material_code;
        public string material_name;

        public List<MESQCDetail> detail;
    }

    public class MESQCDetail
    {
        public string cell_code;
        public string cell_name;
        public string check_order; // 检测单号
        public uint check_type;    // 检测类型 1-首检,2-巡检,3-终检

        // MES-SCADA-23 人工质检结果上传
        // MES-SCADA-24 人工质检完成后放行
        public string prod_sn;     // 产品序列码(内部)

        // MES-SCADA-24 
        public uint check_state;   // 质量状态， 1-OK，2-NG排异，3-在线返修 
    }
}
